@import "var"

/* #################### 全局 #################### */
// 清除内外边距
* {
    margin: 0;
    padding: 0;
}
html, body {
    // width: 100%;
    // height: 100%;
    font-family: "Microsoft YaHei";
    font-size: 16px;
    color: #555;
}
body:after {
    // content: "";
    // position: fixed;
    // top: 0;
    // left: 0;
    // right: 0;
    // bottom: 0;
    // background-size: 20px 20px;
    // background-image: linear-gradient(90deg, rgba(60,10,30,0.04) 3%, transparent 0),linear-gradient(1turn, rgba(60,10,30,0.04) 3%, transparent 0);
    // background-image: linear-gradient(90deg, rgba(60,10,30,1.04) 3%, transparent 0),linear-gradient(1turn, rgba(60,10,30,1.04) 3%, transparent 0);
}
#lightfeather {
    // display: flex;
    // width: 100%;
    // height: auto;
}

/* aside {
    width: 300px;
    height: 100%;
    position: fixed;
    background: #262a30;
} */

#content {
    // height: 100%;
    // padding-left: 300px;
    // background: #f9f7ed;
    // flex: 1 auto;
}
/* #################### 全局 #################### */

/* #################### 导航 #################### */
nav {
    height: 60px;
    background: #222;
}
nav #nav_left {
    float: left;
}
nav #nav_left a {
    display: inline-block;
    padding: 0 30px;
    color: #9d9d9d;
    text-decoration: none;
    line-height: 60px;
}
nav #nav_left a:hover {
    font-weight: bold;
    background-color: #555;
}
nav #nav_right {
    float: right;
}
nav #nav_right a {
    display: inline-block;
    padding: 0 30px;
    color: #9d9d9d;
    text-decoration: none;
    line-height: 60px;
}
nav #nav_right a:hover {
    font-weight: bold;
    background-color: #555;
}
/* #################### 导航 #################### */

/* #################### 首页图 #################### */

#header .banner {
    position: relative;
    height: calc(100vh - 60px);
    // background-color: #6accab;

    // background-image: url($top_img);
    // background-repeat: no-repeat;
    // background-position: right top;

    // background-image: linear-gradient(90deg, rgba(60,10,30,0.04) 3%, transparent 0),linear-gradient(1turn, rgba(60,10,30,0.04) 3%, transparent 0);
    background-image: linear-gradient(to top, #12c0fa 0%, #158df4 100%);
    cursor: pointer;
    // 解决div塌陷问题
    // overflow: hidden;
}
#header .brief_text {
    position: absolute;
    width: 100%
    top: 30%;
    text-align: center;
    color: white
}
#header .scroll_down {
    position: absolute;
    width: 100%
    bottom: 5%;
    text-align: center;
    color: white
}
#header .sub_banner {
    position: relative;
    height: 400px;
    width: 100%;
    background-image: linear-gradient(to top, #12c0fa 0%, #158df4 100%);
    transition: all .5s;
}
#header .post_info {
    position: absolute;
    bottom: 100px;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* #################### 首页图 #################### */

/* #################### 侧边栏 #################### */
/* 搜索框 */

/* 搜索图标 */

/* 滚动条 */

/* 树目录位置 */

/* 树目录 */

/* #################### 侧边栏 #################### */

/* #################### 文章 #################### */
/* 作者 时间 相关 */

/* 文章各个元素间隔 */

/* 表格处理 */

/* #################### 文章 #################### */

/* #################### 点击目录动画 #################### */

/* #################### 点击目录动画 #################### */

/* #################### 文章索引 #################### */

/* #################### 文章索引 #################### */

/* #################### 主页 #################### */

#main {
    // background-color: #ddff55;
}
#article_list {
    margin: 0 auto;
    // border: 1px solid #999;
    border-radius: 10px;
    // 解决div塌陷问题
    overflow: hidden;
}
#article_list .article_li {
    display: block;
    margin: 10px auto;
    width: 80%;
    // border: 1px solid #999;
    border-radius: 10px;
    background-color: white;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 3px 8px 6px rgba(7,17,27,0.05);
    transition: all .3s ease-out;
}
#article_list .article_li:hover {
    // box-shadow: 0 14px 26px -12px rgb(233 30 99 / 42%), 0 4px 23px 0 rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(233 30 99 / 20%);
    box-shadow: 0 3px 8px 6px rgba(7,17,27,0.09);
    // transform: scale(1.1);
}
#article_list .article_date{
    background: #ffe6e6;
    color: #f66;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}
#article_list .article_title {
    color: #555;
    padding: 10px;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
}
#article_list .article_digest{
    color: #555;
    padding: 10px;
}
#article_list .article_read {
    display: block;
    padding: 10px;
    height: 100%;
    background: #ee8866;
    color: #f9f7ed;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    text-align: right;
}
#article_list .paginator {
    text-align: center;
}
#article_list .paginator .page-number{
    display: inline-block;
    width: 3rem;
    height: 2rem;
    line-height: 2em;
    text-decoration: none;
    color: black;
}
#article_list .paginator .current{
    color: #44aaff;
}
#article_list .paginator .extend{
    display: inline-block;
    width: 3rem;
    height: 2rem;
    line-height: 2rem;
    color: black;
}

/* #################### 主页 #################### */

/* #################### 标签页 #################### */

#tags_list {
    margin: 0 auto;
    width: 70%;
}
#tags_list .tag_cloud {
    padding: 4.5rem 0 7rem;
    text-align: center;
}
#tags_list .tag-list {
}
#tags_list .tag-list-item {
    display: inline-block;
    list-style: none;
}
#tags_list .tag-list-link {
    display: inline-block;
    padding: 1rem;
    margin: 1rem;
    text-decoration: none;
    color: skyblue;
    font-weight: bold;
    border-radius: 10px;
}

/* #################### 标签页 #################### */

/* #################### 页脚 #################### */

#footer {
    position: relative;
    height: 100px;
    // background-color: #dddddd;
    // background: linear-gradient(to bottom, transparent, grey);
}
#footer .visit_count {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* #################### 页脚 #################### */

/* #################### 自适应 #################### */

/* 当浏览器窗口不超过最大800px时(意思就是小于800px时) */

@media screen and (max-width: 800px) {
    aside {
        display: none;
    }

    #content {
        padding-left: 0;
    }

    canvas#live2dcanvas {
        display: none;
    }
}

/*竖屏*/
@media all and (orientation : portrait) {

    aside {
        display: none;
    }

    #content {
        padding-left: 0;
    }

    canvas#live2dcanvas {
        display: none;
    }

}

/* #################### 自适应 #################### */
